all : aes rsa sign

aes : src/aes.c src/crypt.c lib/libcrypto.a lib/libssl.a
	gcc src/aes.c src/crypt.c lib/libcrypto.a lib/libssl.a -I include -lpthread -ldl -o aes

rsa : src/rsa.c src/crypt.c lib/libcrypto.a lib/libssl.a
	gcc src/rsa.c src/crypt.c lib/libcrypto.a lib/libssl.a -I include -lpthread -ldl -o rsa

sign : src/sign.c src/crypt.c lib/libcrypto.a lib/libssl.a
	gcc src/sign.c src/crypt.c lib/libcrypto.a lib/libssl.a -I include -lpthread -ldl -o sign

clean :
	rm aes rsa sign
